//
//  OtherViewController.m
//  QRCodeManager
//
//  Created by Cosmin Stirbu on 4/17/13.
//  Copyright (c) 2013 Cosmin Stirbu. All rights reserved.
//

#import "OtherViewController.h"
#import "QuartzCore/QuartzCore.h"

@interface OtherViewController ()

@end

@implementation OtherViewController

@synthesize qrCode;

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.

}

- (void)viewWillAppear:(BOOL)animated {
    // Content
    _contentTextView.text = qrCode.content;
    _contentTextView.layer.cornerRadius = 10;
    
    [super viewWillDisappear:animated];
    
}

- (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section {
    return qrCode.name;
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewDidUnload {
    _contentTextView = nil;
    [super viewDidUnload];
}
@end
